package com.zxcar.control;

import android.app.Application;

import com.allen.library.RxHttpUtils;
import com.zxcar.control.http.ApiManager;

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        RxHttpUtils
                .getInstance()
                .init(this)
                .config() //配置全局baseUrl
                .setBaseUrl("http://192.168.3.165") //开启全局配置
                .setOkClient(ApiManager.getClientInstance());
    }
}
